home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 3 / QRZ Ham Radio Callsign Database - Volume 3.iso / digests / tcp / 930280.txt < prev    next >
Internet Message Format  |  1994-06-04  |  23KB

  1. Date: Fri, 29 Oct 93 04:30:02 PDT
  2. From: Advanced Amateur Radio Networking Group <tcp-group@ucsd.edu>
  3. Errors-To: TCP-Group-Errors@UCSD.Edu
  4. Reply-To: TCP-Group@UCSD.Edu
  5. Precedence: Bulk
  6. Subject: TCP-Group Digest V93 #280
  7. To: tcp-group-digest
  8.  
  9.  
  10. TCP-Group Digest            Fri, 29 Oct 93       Volume 93 : Issue  280
  11.  
  12. Today's Topics:
  13.                                    
  14.                      AMPR and gatewaying (3 msgs)
  15.                        Re- TCP broadcast storm
  16.                              unsubscribe
  17.  
  18. Send Replies or notes for publication to: <TCP-Group@UCSD.Edu>.
  19. Subscription requests to <TCP-Group-REQUEST@UCSD.Edu>.
  20. Problems you can't solve otherwise to brian@ucsd.edu.
  21.  
  22. Archives of past issues of the TCP-Group Digest are available
  23. (by FTP only) from UCSD.Edu in directory "mailarchives".
  24.  
  25. We trust that readers are intelligent enough to realize that all text
  26. herein consists of personal comments and does not represent the official
  27. policies or positions of any party.  Your mileage may vary.  So there.
  28. ----------------------------------------------------------------------
  29.  
  30. Date: 29 Oct 93 00:19:57 EDT
  31. From: Bob Ross <72277.550@CompuServe.COM>
  32. Subject: 
  33. To: tcp-group <tcp-group@ucsd.edu>
  34.  
  35. unsubscribe
  36.  
  37. ------------------------------
  38.  
  39. Date: Thu, 28 Oct 93 16:53:06 EDT
  40. From: crompton@NADC.NADC.NAVY.MIL (D. Crompton)
  41. Subject: AMPR and gatewaying
  42. To: gateways@mpg.phys.hawaii.edu, tcp-group@ucsd.edu
  43.  
  44. I see a possible trend in gateways that is bothering me somewhat.
  45. That is using a "wired/commercial" network to pass AMPR traffic
  46. WHEN an existing AMPR circuit either exists or could easily be made
  47. to exist.
  48.  
  49. Certainly there is no argument for many of the circuits - I.E.
  50. Australia to the US etc. The problem is when you have two adjacent areas within
  51. the US that use gatewaying when an AMPR radio cicuit exists. We are
  52. Amateur Radio and RF is our "thing". Modulating it with digital data or
  53. whatever. The more we depend on "wired" networks the less autonomous we
  54. become. 
  55.  
  56. I see this reasoning starting to set in here on the East coast. "Well
  57. it's a whole lot less trouble to just gateway than setup an RF link, so
  58. why bother. We have RF links that are a mess. Have we lost sight of what
  59. this is all about?
  60.  
  61. I really think there should be a policy established on this. Amateur (RF)
  62. circuits should be used whenever possible. If they do not work well or
  63. we need to improve the RF protocol then lets go ahead and do it. Anyone
  64. can send data down a wireline especially when the transport is being handled
  65. by someone else. The last time I checked we were Amateur RADIO operators,
  66. not Amateur network operators. I guess if every user had FREE internet
  67. connections at their home they would be happy - hey then you would not
  68. need the radio! Seems to be what everyone is pushing for anyway.
  69.  
  70. I am contemplating setting up a gateway. It will be my policy if and
  71. when I do, to NOT pass traffic to areas which can be reached by RF. I
  72. don't care how slow the circuit is. If engineering wise a circuit is
  73. feasible via RF than that's the way it should go.
  74.  
  75. Perhaps some will think that is to strong an approach, but I think 
  76. that we really have to take a good look at this and try to see where
  77. it is all going. I work with "wirelines" all day long and it is no
  78. big thrill in my book to have data go half way around the world in 
  79. that manner, much the same as we take making a worldwide phone call
  80. for granted. Send the same via radio though and it will excite the real
  81. "RF freaks". Maybe technology has really gone beyond Amateur radio. It
  82. won't be to many more years when you will have a palm size personal
  83. communicator that will transceive in many modes to anywhere in the world
  84. via satelite. Of course it will cost money, a dirty word for most hams.
  85. Oh I guess that is why all this gatewaying has caught on - it is FREE. If
  86. it cost money we would not be doing it. Which brings up a point - someone
  87. IS paying for it. We are just on a free ride.
  88.  
  89. Fire away... 
  90.  
  91. Doug  
  92.  
  93. ------------------------------
  94.  
  95. Date: Thu, 28 Oct 93 12:38:40 HST
  96. From: Antonio Querubin <tony@mpg.phys.hawaii.edu>
  97. Subject: AMPR and gatewaying
  98. To: crompton@NADC.NADC.NAVY.MIL (D. Crompton)
  99.  
  100. > I see a possible trend in gateways that is bothering me somewhat.
  101. > That is using a "wired/commercial" network to pass AMPR traffic
  102. > WHEN an existing AMPR circuit either exists or could easily be made
  103. > to exist.
  104.  
  105. The situation is similar to the distribution of satellite gateways
  106. around the world.  Some places have too many, some not enough.  
  107.  
  108. > I really think there should be a policy established on this. Amateur (RF)
  109. > circuits should be used whenever possible. If they do not work well or
  110. > we need to improve the RF protocol then lets go ahead and do it. Anyone
  111.  
  112. Not sure if we need a set policy.  I'd rather let common sense take
  113. over and have people in the same region cooperate to make maximum use
  114. of the resources they have.  I've gotten a lot of initial contacts from
  115. people thinking about setting up a gateway where there is one already
  116. nearby.  I inform these people about the nearby gateway and it's their
  117. choice as whether to pursue a new gateway, or help out with the
  118. existing network surrounding the nearby gateway, or simply become end-nodes.
  119.  
  120. > can send data down a wireline especially when the transport is being handled
  121. > by someone else. The last time I checked we were Amateur RADIO operators,
  122. > not Amateur network operators. I guess if every user had FREE internet
  123.  
  124. We are amateur communication operators.  The media and modes of
  125. communication that we use will continue to increase and evolve.
  126. Consider communication via fiber optics for example.  This is still
  127. communication via E&M waves.  The fiber is nothing more than a
  128. dielectric waveguide.  The wavelength is measured in nanometers.   
  129. This is by no means a stagnant hobby.
  130.  
  131. > connections at their home they would be happy - hey then you would not
  132. > need the radio! Seems to be what everyone is pushing for anyway.
  133.  
  134. True.  The way things are going the average Joe may get Internet
  135. access by landline before the ham next door does by radio.
  136.  
  137. > I am contemplating setting up a gateway. It will be my policy if and
  138. > when I do, to NOT pass traffic to areas which can be reached by RF. I
  139. > don't care how slow the circuit is. If engineering wise a circuit is
  140. > feasible via RF than that's the way it should go.
  141.  
  142. Well, Hawai`i IS reachable via 300 BAUD HF packet from the U.S.
  143. mainland and Australia.  But I don't expect us to go back to that.
  144. I'd rather wait for geostationary satellite routing.
  145.  
  146. > via satelite. Of course it will cost money, a dirty word for most hams.
  147. > Oh I guess that is why all this gatewaying has caught on - it is FREE. If
  148. > it cost money we would not be doing it. Which brings up a point - someone
  149. > IS paying for it. We are just on a free ride.
  150.  
  151. May as well enjoy the ride while it lasts :-).
  152.  
  153. Tony
  154.  
  155. ------------------------------
  156.  
  157. Date: Thu, 28 Oct 1993 23:38:00 -0600 (MDT)
  158. From: William Ti Baggett <wbaggett@nmsu.edu>
  159. Subject: AMPR and gatewaying
  160. To: "Dr. Osborne AA5ZQ" <WOsborne@Gauss.nmsu.edu>
  161.  
  162. On Thu, 28 Oct 1993, Antonio Querubin wrote:
  163.  
  164. > > I see a possible trend in gateways that is bothering me somewhat.
  165. > > That is using a "wired/commercial" network to pass AMPR traffic
  166. > > WHEN an existing AMPR circuit either exists or could easily be made
  167. > > to exist.
  168.  
  169.  
  170. I have thought about and discussed with others this topic for some time now,
  171. but not really to any great extent. I agree that RF links should be used
  172. whenever they exist, but from my (limited) experience in packet radio so
  173. far, making RF links exists is not as easy as I thought. So here's my 2
  174. cents worth.
  175.  
  176. > We are amateur communication operators.  The media and modes of
  177. > communication that we use will continue to increase and evolve.
  178. > Consider communication via fiber optics for example.  This is still
  179. > communication via E&M waves.  The fiber is nothing more than a
  180. > dielectric waveguide.  The wavelength is measured in nanometers.   
  181. > This is by no means a stagnant hobby.
  182.  
  183. This is where I start having an opinion. I agree with Tony here. There is
  184. a lot more to communication than just antennas and transmitters, at least
  185. from what I've gotten out of Ham Radio in the past 8 years. When we get to
  186. the basics, its all E&M waves, but thats not the point I'm trying to make.
  187.  
  188. I'm an undergraduate Electrical Engineering student here at New Mexico
  189. State University. I've found that amateur radio is a fascinating hobby
  190. with a lot of different fields that one can enjoy and learn about. This
  191. has inspired me to choose my major that I have.
  192.  
  193. I also happen to enjoy the digital communications end of amateur radio and
  194. because of this I have set up the gateway on campus here (NMSUGW). From
  195. this experience I have learned (and continue to learn) an INCREDIBLE
  196. amount about computer networking with protocols and the different problems
  197. that arise from it. I am by no means a digital communications guru like
  198. several are who read these groups, but it is still applicable knowledge.
  199. TCP/IP (at least to me) works the same over Ethernet and the radio - only
  200. their physical data layers are different. Currently, I'm even running
  201. several experiments to determine packet retry rates for different
  202. protocols, and in the future may experiement around with different
  203. modulation schemes.
  204.  
  205. THAT is what I think amateur radio is. It's not just radio anymore. It is
  206. non-professionals (which I am) experiementing and developing new
  207. methods of communications. Interfacing radio packets into different LANs
  208. Via Internet is something that the gateway sysop's are developing and
  209. experimenting with.
  210.  
  211.  
  212. > > connections at their home they would be happy - hey then you would not
  213. > > need the radio! Seems to be what everyone is pushing for anyway.
  214. > True.  The way things are going the average Joe may get Internet
  215. > access by landline before the ham next door does by radio.
  216.  
  217. Yeah, especially at 1200 bps which most probably 98% of hams are using (at
  218. least around here). Also compare prices:
  219. 2nd phone line:     $30 installation / $16 a month
  220. 14.4Kbps V42bis modem:   $147
  221.  
  222. Heck I cant even get Digital Music Express from our cable company for that.
  223. So, do you want Internet access or communication with other amateurs?
  224. I prefer chatting with amateurs rather than the other students, etc on
  225. IRC. But thats me. If you want Internet access, but a telephone modem and
  226. get on the Internet somehow. If you want on packet, get a TNC and a good
  227. radio modem.
  228.  
  229. The gateway here is intentionally set up NOT to allow amateurs access to
  230. the Internet. We saw no reason why we should. We are only providing a
  231. method to route amateur packets from southern NM to other parts of the
  232. world. This depends on the gateway administrators.
  233.  
  234. This is also where the feasiblity of RF links come in: OPINION ALERT!
  235. This digital communications stuff is TOO complicated for the average
  236. packeteer!
  237.  
  238. I do not think that amateur radio as a whole is any longer on the leading
  239. edge of technology. The communications graduate students here at NMSU have
  240. some real INTERESTING digital communications projects. After seeing them
  241. present their papers about interleaving, 8 PSK, 16 PSK, etc I wonder why
  242. we're still at FSK. Maybe bandwidth has something to do with it. I'll
  243. learn more as a graduate student myself. However, I don't think hams are
  244. going to want to build their own RF radios to handle weird modulation
  245. schemes. Yeah, the FCC may restrict the modulation schemes, but we can
  246. get approval for experimentation. At 9600 bps, 19.2Kbps, or even 56Kbps
  247. (which is getting pretty technical) I don't think amateur radio will ever
  248. have a fully interconnected network. I hope that I'm wrong and I intend to
  249. tinker with my own modems someday when college is not such a factor. I
  250. think the hams should design their own stuff instead of having someone
  251. else do it for them. Only difference with buying ready made equipment for
  252. a 9600 bps network and the Internet is that the Internet is already in place.
  253.  
  254. I could continue by commenting about how hard it is to find protocol specs
  255. for someone who wants to develope something, but I think I beat that horse
  256. a few weeks ago.
  257.  
  258.  
  259. > > I am contemplating setting up a gateway. It will be my policy if and
  260. > > when I do, to NOT pass traffic to areas which can be reached by RF. I
  261. > > don't care how slow the circuit is. If engineering wise a circuit is
  262. > > feasible via RF than that's the way it should go.
  263.  
  264. Again, I do not think amateur radio operators are going to go to the
  265. trouble of 'engineering' a network (at least most of them). Money, and
  266. equipment seem to be factors in developeing a fully conencted network.
  267.  
  268. I agree with using common sense when it comes to routing from the
  269. gateways. El Paso has NEVER had a packet connection with the rest of
  270. Texas. It now has one. However, Each town does not need a gateway. The
  271. gateways and the Internet can act as a 'super highway' backbone while
  272. 9600+ backbones can be implemented to get traffic from several LANS into
  273. the gateway.
  274.  
  275. > > Oh I guess that is why all this gatewaying has caught on - it is FREE. If
  276. > > it cost money we would not be doing it. Which brings up a point - someone
  277. > > IS paying for it. We are just on a free ride.
  278.  
  279. Well, my tuition and taxes are providing the connection to Internet for
  280. our radio club. If it disappeared tomarrow, I think I got a good education
  281. out of setting up a gateway (I can even talk intelligently with the
  282. networking folks on campus! Hmmm, wanna hire someone?)
  283.  
  284. BTW: NMSU networking was really interested in our project and how amateurs
  285. run TCP/IP over RF. Unfortunatly they weren't impressed at the 500+ second
  286. Round Trip Time to Albuquerque...
  287.  
  288. > > Flame On...
  289.  
  290. I dont consider my comments as flames (and I hope no one else does
  291. either). These are just my personal opinions. Heck, I'm still young and
  292. new to this. These are just my observances.
  293.  
  294. I hear some people already saying it: 'He wants to build something??!! I
  295. bet he also likes CW!' Yep, I enjoy CW. Just wish school didnt take so
  296. much time that my code speed has fallen from 20 wpm to 2 wpm ;-)
  297.  
  298. I'll step off my disillusioned soapbox now and do some homework...
  299.  
  300. 73,
  301. AA5DF, Tim
  302.  
  303. Disclaimer: As an undergraduate student I'm not allowed to hold an opinion
  304. that in any way, shape, or form reflects that of NMSU.
  305.  
  306.  
  307. ********************************************************************
  308. Tim Baggett, AA5DF                    Electrical Engineering Student
  309.                                       New Mexico State University       
  310. Internet: WBAGGETT@DANTE.NMSU.EDU     
  311. AMPR: AA5DF@NMSUGW.AMPR.ORG           US Snail: 1970 Buchanan Avenue
  312. Twisted Pair: (505) 523-6828                    Las Cruces, NM 88001
  313. ********************************************************************
  314.  
  315. ------------------------------
  316.  
  317. Date: 27 Oct 1993 17:45:00 U
  318. From: "MGauthier" <MGauthier@iit.nrc.ca>
  319. Subject: Re- TCP broadcast storm
  320. To: TCP-Group@ucsd.edu
  321.  
  322. Subject:     Re: TCP broadcast storm
  323. [To R. Braden:  there is a question (or observation) at the end of this
  324.  message asking why RFC 1122 doesn't explicitly say that TCP should
  325.  always ignore and never generate broadcast/multicast packets, instead
  326.  of just mentioning SYN packets.]
  327.  
  328. |From: "Ray Abbitt" <treab@chevron.com>
  329. |SUBJECT: Kind of interesting problem.
  330. |
  331. |>From: Glenn Davis <davis@alien.vax.syncrude.com>
  332. |>Subject: TCP broadcast storm
  333. |>I am troubleshooting a particularly devilish network problem.  About two
  334. |>days ago I started seeing very high TCP broadcast traffic on our internal
  335. |>TCP/IP network.  After taking a network sniffer to the problem I discovered
  336. |>packets like:
  337. |>
  338. |>13-OCT-1993 02:59:09.76 02-60-8C-A5-4F-BD FF-FF-FF-FF-FF-FF  08-00 len=  46
  339. |>IP: vers=4 hdrlen= 5 lngwrds, svc:Routine
  340. |>    total len=   40  ID=%X967E frag ofs=    0
  341. |>    TTL= 30 prot=  6 TCP (Transmission Control), cksum=%X3B1E
  342. |>    src=255.255.255.255  dest=255.255.255.255
  343. |>TCP:port:src=31876 dest=132 seq#=523398 ack#=523398
  344. |>    window=0 len=5 Lwrds,ACK,RST cksum=39AD urgentptr=0
  345. |>FFFFFFFF 3B1E061E 0000967E 28000045 E..(~......;....  0000
  346. |>86FC0700 86FC0700 8400847C FFFFFFFF ....|.....|...|.  0010
  347. |>    4646 45434620 0000AD39 00001450 P...9Z.. FCEFF    0020
  348. |>
  349. |>Approximately 35 network stations (PC's running Netmanage TCP/IP) were
  350. |>sending out these packets as fast as their network adapters would allow!
  351. |>
  352. |>What seemed to happen is: each station would see a packet like the one
  353. |>above, and send out a RST (reset) response (ie this packet not for me).
  354. |>This would repeat itself ad-nauseum, dragging the network down with all
  355. |>the broadcast traffic!
  356. |>[...]
  357. |>The only thing that stopped the beast was to shut down the entire network!
  358. |
  359. |I ran this by one of the other guys at work and got this reply:
  360. |
  361. |FROM:  FRANK H. COLETTI(FRCO@CHEVRON.COM)
  362. |Subject: Kind of interesting problem.
  363. |Ray: This is a known bug in TCP traffic and was probably started by some-
  364. |one who intentionally wanted this to happen. As far as I understand it
  365. |you can start it by custom making an ARP packet, or some other such packet,
  366. |and instead of putting your MAC address in the source field, you put the
  367. |broadcast address. This causes other machines that get the packet via the
  368. |broadcast to respond and automatically put in the original packet's
  369. |source address-in this case, the broadcast address again. This causes
  370. |a "Broadcast Storm" and what you saw is exactly what happens. It brings
  371. |the network to its knees. In one of the classes I attended they said
  372. |that some college guy did it on the Internet a couple of years ago and
  373. |promptly brought the Internet down.
  374. |[...]
  375.  
  376. I don't think this is a "known bug in TCP traffic", but rather a bug
  377. in that particular TCP implementation (unless you mean that particular
  378. bug is known to be present in a number of TCP implementations).
  379. A TCP should NEVER reply to a RST packet.  Although it's a bit spread
  380. out, this is rather clear from RFC 793 ("SEGMENT ARRIVES", pages 65-76),
  381. and from this explicit paragraph on page 36:
  382.     1.  If the connection does not exist (CLOSED) then a reset is sent
  383.     in response to any incoming segment except another reset.  In
  384.                                         ^^^^^^^^^^^^^^^^^^^^
  385.     particular, SYNs addressed to a non-existent connection are rejected
  386.     by this means.
  387.  
  388. Generally speaking, a proper TCP/IP implementation should NOT be prone
  389. to broadcast storms.  There are many discussions in the RFCs on steps
  390. that must be taken to avoid such possibilities.  If you find software
  391. that generates broadcast storms, then most likely the software itself
  392. is the culprit.  I know of no way for IP or TCP to be subject to broadcast
  393. storms, **when properly implemented according the the latest RFCs**.
  394. (Please correct me if you know full details of a valid counterexample.)
  395. I don't claim that most implementations are fully conformant :-)
  396.  
  397. The above TCP/IP implementation has a second bug, the removal of which
  398. would avoid this broadcast storm.  Simply said, IP packets with broadcast
  399. or multicast source addresses MUST be discarded.
  400.  
  401. RFC 1122 says (for TCP and UDP):
  402.  
  403.          4.2.3.10  Remote Address Validation
  404.  
  405.             A TCP implementation MUST reject as an error a local OPEN
  406.             call for an invalid remote IP address (e.g., a broadcast or
  407.             multicast address).
  408.  
  409.             An incoming SYN with an invalid source address must be
  410.             ignored either by TCP or by the IP layer (see Section
  411.             3.2.1.3).
  412.  
  413.             A TCP implementation MUST silently discard an incoming SYN
  414.             segment that is addressed to a broadcast or multicast
  415.             address.
  416.  
  417.          4.1.3.6  Invalid Addresses
  418.  
  419.             A UDP datagram received with an invalid IP source address
  420.             (e.g., a broadcast or multicast address) must be discarded
  421.             by UDP or by the IP layer (see Section 3.2.1.3).
  422.  
  423.             When a host sends a UDP datagram, the source address MUST be
  424.             (one of) the IP address(es) of the host.
  425.  
  426. It is clear from the above that broadcast and multicast addresses are
  427. not allowed as source addresses in IP datagrams, and that such datagrams
  428. should be discarded.  This is also stated explicitly in section 3.2.1.3
  429. of RFC 1122, on IP addressing:
  430.  
  431.          3.2.1.3  Addressing: RFC-791 Section 3.2
  432.             [...]
  433.             When a host sends any datagram, the IP source address MUST
  434.             be one of its own IP addresses (but not a broadcast or
  435.             multicast address).
  436.  
  437. [I believe there is an exception to the above for IP-level IP address
  438.  discovery protocols such as BOOTP, in which case 0.0.0.0 is used as
  439.  a source address by the BOOTP client. -MEG]
  440.  
  441.             A host MUST silently discard an incoming datagram that is
  442.             not destined for the host.  ...
  443.             [...]
  444.             A host MUST silently discard an incoming datagram containing
  445.             an IP source address that is invalid by the rules of this
  446.             section.  This validation could be done in either the IP
  447.             layer or by each protocol in the transport layer.
  448.             [...]
  449.  
  450.  
  451. I propose that the stated TCP/IP implementation has yet a third bug,
  452. removal of which would also prevent a broadcast storm.  It is simply that
  453. TCP should never respond to broadcast or multicast packets.  TCP is not a
  454. broadcast/multicast protocol, and should never generate (or respond to)
  455. such traffic.  (I'm ignoring the ARP mechanisms, which operate at the
  456. network level; ARP has / should have its own mechanisms to avoid
  457. broadcast storms.)  However, I couldn't find any explicit statement of
  458. this more general that what is found in section 4.2.3.10 of RFC 1122
  459. (see above quote).  Why isn't this clearly pointed out in RFCs?
  460. Looks like an omission...
  461.  
  462.  
  463. So the solution to Glenn's problem (other than shutting down the net for
  464. a short term fix) would be to contact the suppliers/writers of the
  465. TCP/IP software and tell them how buggy their software is.  You could
  466. quote the above.
  467.  
  468. 73,
  469.  
  470. -Marc     VE2SOR
  471. --
  472. Marc E. Gauthier     Software Eng. Lab, IIT, National Research Council Canada
  473. mgauthier@iit.nrc.ca  Building M-50, Ottawa ON, Canada  K1A 0R6
  474. +1 613 991 6975   fax: +1 613 952 7151   home: +1 819 777 5841  (Hull QC)
  475. NCFreeNet: aj313@freenet.carleton.ca     Disclaim: I speak for myself only
  476.  
  477. ------------------------------
  478.  
  479. Date: Fri, 29 Oct 93 1:10:41 CDT
  480. From: umlee174@CC.UManitoba.CA
  481. Subject: unsubscribe
  482. To: tcp-group@ucsd.edu
  483.  
  484. unsubscribe
  485.  
  486. ------------------------------
  487.  
  488. Date: Thu, 28 Oct 93 15:35:40 +0100
  489. From: Alan Cox <iiitac@pyramid.swansea.ac.uk>
  490. To: tcp-group@ucsd.edu
  491.  
  492. Several tcp/ip stacks respond with ACK's to out of sequence RST frames
  493. and break all the rules. Nevertheless with the exception fo the current
  494. Linux one (which I'm fixing) I know of none stupid enough to reply
  495. to a frame with broadcast addresses.
  496.  
  497. ALan
  498.  
  499. ------------------------------
  500.  
  501. End of TCP-Group Digest V93 #280
  502. ******************************
  503. ******************************
  504.